package com.dao;

import com.entity.UserRescource;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRescourceDao {
    Integer insertUserResource(@Param("userId") Integer userId, @Param("resourceId") Integer resourceId);

    List<Integer> selectResourceIdsByUserId(Integer userId);

    int insertMyResources(UserRescource userResource);
}
